package com.spdg.ring.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.spdg.ring.bo.PushBo;

/**
 * <p>Title: 消息通知广播接收器     </p>
 * <p>Description: 
 * 接收到广播后，请求消息通知轮询
 * </p>
 * <p>@author: Eric.wsd                </p>
 * <p>Copyright: Copyright (c) 2012    </p>
 * <p>Company: FFCS Co., Ltd.          </p>
 * <p>Create Time: 2012-10-23             </p>
 * <p>Update Time:                     </p>
 * <p>Updater:                         </p>
 * <p>Update Comments:                 </p>
 */
public class PushReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		PushBo bo = new PushBo(context);

		bo.startPush();

		if (getAbortBroadcast()) {
			abortBroadcast();
		}
	}
}
